package jaux.tank.dao.system;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import jaux.tank.bean.entity.system.Attachment;
import jaux.tank.bean.entity.system.AttachmentBase;

public interface AttachmentRepository extends JpaRepository<Attachment, String> {
	
	List<AttachmentBase> findByOrderByUploadTimeDesc();
	
	AttachmentBase findOneById(String id);
	
}
